var pic_obj={
		

	//Massager控制器  massagerAdd页面调用
	pic_add:function(){
		global_obj.file_upload($('#ImgUpload'), $('#massager_form input[name=ImgPath]'), $('#ImgDetail'));
		//$('#ImgDetail').html(global_obj.img_link($('#massager_form input[name=ImgPath]').val()));
		
		global_obj.file_upload($('#ImgUpload1'), $('#massager_form input[name=ImgPath1]'), $('#ImgDetail1'));
		//$('#ImgDetail1').html(global_obj.img_link($('#massager_form input[name=ImgPath1]').val()));
		
		global_obj.file_upload($('#ImgUpload2'), $('#massager_form input[name=ImgPath2]'), $('#ImgDetail2'));
		//$('#ImgDetail2').html(global_obj.img_link($('#massager_form input[name=ImgPath2]').val()));
		
		$('#massager_form input[name=submit_button]').click(function(){	
			if(global_obj.check_form($('*[notnull]'))){return false};
			if($('#massager_form input[name=ImgPath]').val()==''){
				alert('您还没有上传图片');
				return false;
			};
			$.post('?s=Home/selfSet',$('#massager_form').serialize(),function(data){
				if(data.ret==1){		
					alert('成功');
				}else{
					alert('您没有做任何改动');
					window.self.location.reload();
				}						
			},'json');
		});
		

}

	
	
	
}